Repository navigation
Add nile-elements w/ npm auto-update - #2220
Conversation
MattIPv4
left a comment
There was a problem hiding this comment.
As the CI error notes, your JSON file for the package is missing the required repository information.
|
Hey @MattIPv4 Thanks for the review! The source repository for nile-elements is private, so there isn’t a public Git repo to reference. The package is published publicly on npm under the MIT license (@aquera/nile-elements), which is what the auto-update targets. Is it acceptable to omit the repository or point it to the npm package, or does cdnjs require a public Git repo? |
|
You can try setting it to the NPM package, I'm not sure whether the CI will accept it though. It seems a bit odd to have an OSS-licensed package published without a public repo. |
|
Pushed the Regarding the public repo: we're keeping our repository private for company use cases. |
|
@niklhut any logic in the auto-update process (Algolia indexing where we fetch repo information) that'll be unhappy about this fake repository set to NPM, or will it just gracefully ignore it? |
|
It'll gracefully ignore it. We already have about 40 packages with non-GitHub repository URLs. |
Adds nile-elements, a library of Lit-based web components from the Nile design system by Aquera.
Auto-update: npm, target
@aquera/nile-elements. The file map copiesdist/index.js, a self-contained, already-minified ES module bundle (about 4.3 MB) that registers everynile-*custom element. It matches the build served from the Aquera CDN link above. JS minification is turned off because the bundle is already minified.Usage once live: